import React from 'react';
import { Button, Space } from 'antd';
import { Link } from 'umi';

/**
 * Ant Design 4.0 练习首页
 * @author SPY
 * @date 2020/03/26
 */
const antD = (props: any) => {
  return (
    <Space>
      <Link to="/antd/grid">
        <Button type="link">Grid栅格系统</Button>
      </Link>
      <Link to="/antd/form">
        <Button type="link">Form表单</Button>
      </Link>
      <Link to="/antd/protable">
        <Button type="link">ProTable使用</Button>
      </Link>
      <Link to="/antd/tableEdit">
        <Button type="link">TableEdit使用</Button>
      </Link>
    </Space>
  );
};

antD.title = 'Ant Design Pro 4.0';

export default antD;
